package file;

import java.io.File;

public class FileMake {
    public static void main(String[] args) {
        String str = "c:\\develop\\a.txt";
        File f1 = new File(str);
        System.out.println(f1);
        System.out.println("==============");
        String s1 = "c:\\develop";
        String s2 = "a.txt";
        File f2 = new File(s1, s2);
        System.out.println(f2);
        System.out.println("==============");
        File f3 = new File(s1 + "\\" + s2);
        System.out.println(f3);
    }
}
